package my.learn.common.web.core.io;

import java.io.InputStream;

public class DefaultScriptResource implements ScriptResource {
    private final InputStream inputStream;

    private String  path;

    public DefaultScriptResource(InputStream inputStream) {
        this.inputStream = inputStream;
    }

    @Override
    public InputStream getInputStream() {
        return inputStream;
    }

    @Override
    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
